import React, { Component } from 'react';
import { BrowserRouter, HashRouter, Route, Switch } from 'react-router-dom'
import IndexRoute from '@views/indexRoute'
import './App.less'

class App extends Component {
  render() {
    return (
      <div className="app" style={{ margin: '0 auto'}} >
        <HashRouter>
          <Switch>
            <Route path={'/'} component={IndexRoute} />
          </Switch>
        </HashRouter>
      </div>

    );
  }
}

export default App;